home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-09-06 | 3.1 KB | 156 lines | [TEXT/QED1] |
- ;
- ; Business Cards Script
- ; For Mansion 8 BBS
- ;
- ; By Mark Toland
- ; Zoo System Mac BBS
- ; Fidonet 290/2
- ; 515-279-3073 9600 v.32 v.42bis
- ;
- MOVE @LIMIT,&250
- LOADUSERINFO
- LIMIT &250
- /ONE
- PRINT
- PRINT
- PRINT
- PRINT You can enter your 'business card' into a data base from this area.
- PRINT
- PRINT You may skip any questions you wish. Search abilities are being
- PRINT developed as well as the formatting and style of the cards.
- PRINT
- PRINT So... If you have a specialty... Give us your card!
- PRINT
- PRINT
- PRINT ::::::::::::::::::::::::::::::::::::
- PRINT : - Business Card Options - :
- PRINT : A. Enter your Business Card. :
- PRINT : V. View complete card listing. :
- PRINT : F. Find/query/search data base. :
- PRINT : Q. Quit back to the BBS. :
- PRINT ::::::::::::::::::::::::::::::::::::
- PRINT
- PRINT
- DRAW Enter your choice:
- INPUT 1,&0
- IF &0,=,A
- FORWARD /ADD
- ENDIF
- IF &0,=,V
- ; •••• Edit the following line as to the location of your Business card file
- DISPLAY HD 60:Mansion BBS ƒ:Mansion Data:Misc Data:Business Cards
- REVERSE /ONE
- ENDIF
- IF &0,=,Q
- END
- ENDIF
- IF &0,<>,Q
- REVERSE /ONE
- ENDIF
- ;
- /ADD
- ; &1 = company name
- ; &2 = person name 1
- ; &3 = person name 2
- ; &4 = voice phone
- ; &5 = data/fax line
- ; &6 - &9 mailing address
- ; &10 &11 additional info
- PRINT
- PRINT
- DRAW Enter your company or specialty name. ->
- INPUT 64,&1
- PRINT
- PRINT Please enter the name(s) to be used for contacts on this record.
- PRINT (you will have 2 lines for entry)
- DRAW 1 >
- INPUT 64,&2
- DRAW 2 >
- INPUT 64,&3
- DRAW Voice Phone Number ->
- INPUT 25,&4
- DRAW Data or Fax Phone Number ->
- INPUT 25,&5
- PRINT Enter the mailing address. (4 lines of 64 chars. allowed)
- DRAW 1 >
- INPUT 64,&6
- DRAW 2 >
- INPUT 64,&7
- DRAW 3 >
- INPUT 64,&8
- DRAW 4 >
- INPUT 64,&9
- PRINT Enter any other info you wish included. (2 lines of 64 chars. allowed)
- DRAW 1 >
- INPUT 64,&10
- DRAW 2 >
- INPUT 64,&11
- /TWO
- PRINT
- PRINT Here is your entry.
- PRINT -------------------
- DRAW * Company :
- PRINT &1
- DRAW * Contacts :
- PRINT &2
- DRAW ..........
- PRINT &3
- DRAW * Voice phone number :
- PRINT &4
- DRAW * Data / fax number :
- PRINT &5
- PRINT * Mailing address.
- PRINT &6
- PRINT &7
- PRINT &8
- PRINT * Additional Information.
- PRINT &10
- PRINT &11
- PRINT
- DRAW Do you wish to record the above information (Y/N)?
- INPUT 1,&0
- IF &0,=,N
- REVERSE /ONE
- ENDIF
- IF &0,<>,Y
- REVERSE /TWO
- ENDIF
- ;
- PRINT
- PRINT Processing your business card...
- ; OK lets try to format things a little bit
- MOVE * Contact 1 :,&22
- CONCAT &22,&2
- MOVE * Contact 2 :,&23
- CONCAT &23,&3
- MOVE * Voice Phone :,&24
- CONCAT &24,&4
- MOVE * Data - Fax Phone :,&25
- CONCAT &25,&5
- ;
- PRINT Saving...
- ; •••• Edit the following 2 lines as to the location of your Business card file
- OUTPUT HD 60:Mansion BBS ƒ:Mansion Data:Misc Data:Business Cards
- EXISTS HD 60:Mansion BBS ƒ:Mansion Data:Misc Data:Business Cards,&50
- IF &50,=,0
- WRITE &51
- ENDIF
- APPEND ----------------------------------------------------------------------
- APPEND &1
- APPEND &22
- APPEND &23
- APPEND &24
- APPEND &25
- APPEND * Mailing Address *
- APPEND &6
- APPEND &7
- APPEND &8
- APPEND &9
- APPEND * Additional Information *
- APPEND &10
- APPEND &11
- ;
- CLOSE
- PRINT Thanks for adding your business card!
- REVERSE /ONE
- END